package org.ocean.online.sys.inner;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public class Req {
	private Map params = new HashMap();
	
	private List files = new ArrayList();
	
	HttpServletRequest httpServletRequest;
	
	public Map getParams() {
		return params;
	}

	public void setParams(Map params) {
		this.params = params;
	}

	public List getFiles() {
		return files;
	}

	public void setFiles(List files) {
		this.files = files;
	}

	public HttpSession getHttpSession() {
		return httpServletRequest.getSession();
	}

	public HttpServletRequest getHttpServletRequest(){
		return httpServletRequest;
	}
	public void setHttpServletRequest(HttpServletRequest httpServletRequest) {
		this.httpServletRequest = httpServletRequest;
	}
	
	@Override
	public String toString() {
		return httpServletRequest.toString();
	}
}
